@import '../../assets/less/global.less';

.layer-msg {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 100;
  width: 300px;
  margin-left: -160px;
  line-height: 18px;
  color: #fff;
  background-color: rgba(0, 0, 0,.75);
  border-radius: @radius;
  box-shadow: 0 .01rem .05rem rgba(0, 0, 0,.18);

  .layer-body {
    display: flex;
    padding: 15px;

    .icon {
      margin-right: 10px;
    }
  }

  .i-success {
    color: @success-color;
  }

  .i-warning {
    color: @warning-color;
  }

  .i-info {
    color: @info-color;
  }

  .i-error {
    color: @danger-color;
  }
}
